package cn.jhz.learn.blog.service.security.resource.article;

import cn.jhz.learn.blog.vo.article.query.page.ArticlePageView;
import cn.jhz.learn.blog.vo.article.submit.ArticleParam;
import cn.jhz.learn.blog.vo.article.query.page.ConsolePageView;

public interface ArticlePointCut {
    void create(Integer uid, ArticleParam param);

    void delete(Integer uid, Integer id, Boolean deep);

    void update(Integer uid, ArticleParam param);

    void recycle(Integer uid, Integer id);

    void stick(Integer uid, Integer id, Boolean sticky);

    void getPage(ArticlePageView pageView);

    void getPageUid(Integer uid, ArticlePageView pageView);

    void getDetail(Integer id);

    void getDetailUid(Integer uid, Integer id);

    void getDetailConsole(Integer uid, Integer id);

    void getCountAndList(Integer uid, ConsolePageView pageView);
}
